<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="ChangePassword.aspx.cs" Inherits="ChangePassword" %>
<%@ Register Src="usercontrols/MainMenu.ascx" TagName="MainMenu" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
  <!-- Content general begin-->
    <div class="content_general">
        <!-- Left main begin-->
        <uc1:MainMenu ID="MainMenu1" runat="server" />
        <!-- Left main -->
        <!-- Left right main begin-->
        <div class="fl left_right_main">
            <div class="member_are">
                <div class="log_out">
                    <a href="#">Logout</a></div>
                <ul>
                    <li><span>Member Area</span> </li>
                </ul>
            </div>
            <div style="font-size: 20px" class="red">
                Change password</div>
            <div class="form_post_sell mt_10px">
            <div style="color:Red; font-weight:bold; margin-left:300px;">
                <asp:Literal ID="ltrMsg" runat="server"></asp:Literal></div>
                <div class="formrow">
                    <div class="lb_medium right fl">
                        Email:</div>
                    <div class="fl text_normal">
                        <asp:Literal ID="ltrEmail" runat="server"></asp:Literal>
                    </div>
                    <div class="clr">
                    </div>
                </div>
               
                <div class="formrow">
                <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator4" runat="server"
                    ControlToValidate="txtPassOld" ErrorMessage="<div class='field_error' style='position: absolute; top: 4px; left: 364px;'>
                    Please enter your password old</div>"></asp:RequiredFieldValidator>
                    <div class="lb_medium right fl">
                        Password Old:
                    </div>
                   <input type="password" class="textbox_small fl" id="txtPassOld" runat="server" /><span class="red1">(*)</span>
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                 <asp:Literal Visible="false" ID="ltrMesM" runat="server" Text="<div class='field_error' style='position: absolute; top: 4px; left: 364px;'>
                    Your password should be 6-20 characters long (A-Z, a-z, 0-9, no spaces).</div>" ></asp:Literal>
                 <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator1" runat="server"
                    ControlToValidate="txtPassNew" ErrorMessage="<div class='field_error' style='position: absolute; top: 4px; left: 364px;'>
                    Please enter your password new</div>"></asp:RequiredFieldValidator>
                    <div class="lb_medium right fl">
                        New Password:
                    </div>
                    <input type="password" class="textbox_small fl" id="txtPassNew" runat="server" />
                   
                    <div class="clr">
                    </div>
                </div>
                <div class="formrow">
                  <asp:RequiredFieldValidator Display="Dynamic" ID="RequiredFieldValidator2" runat="server"
                    ControlToValidate="txtConPassNew" ErrorMessage="<div class='field_error' style='position: absolute; top: 4px; left: 364px;'>
                    Please enter confirm password new</div>"></asp:RequiredFieldValidator>
                      <asp:CompareValidator Display="Dynamic" ControlToValidate="txtConPassNew" ControlToCompare="txtPassNew"
                    ID="cpass" runat="server" ErrorMessage="<div class='field_error' style='position: absolute; top: 4px; left: 364px;'>
                    Passwords are not the same</div>"></asp:CompareValidator>
                    <div class="lb_medium right fl">
                        Confirm Password:
                    </div>
                    <input type="password" class="textbox_small fl" id="txtConPassNew" runat="server"  />
                   
                    <div class="clr">
                    </div>
                </div>
                <div class="mt_10px" style="padding-left: 160px;">
                 <asp:LinkButton ID="linkNext" runat="server" CausesValidation="true" OnClick="linkNext_Click" CssClass="btn_general fl">
                    <span class="fl">UPDATE</span>
                        <img src="images/next.gif" width="15" height="14" class="fl" style="padding: 6px 5px 0 0px;" />
                   </asp:LinkButton>
                    <div class="clr">
                    </div>
                </div>
                <div class="clr">
                </div>
            </div>
        </div>
    </div>
    <!-- Left right main -->
    <div class="clr">
    </div>
</asp:Content>

